import java.io.IOException;

public class SortAlgTester {
	public static void main(String args[]) throws IOException {
		
		SortAlgorithmAdapter sortAlgorithm = new QuickSort();

		sortAlgorithm.doInput();

		System.out.println("Before sorting, the array is:");
		sortAlgorithm.showArray();
		

		sortAlgorithm.doSort();
		
		System.out.println("After sorting, the array is:");
		sortAlgorithm.showArray();
	}
}
